package com.example.springbootmqtt.messaging;


import com.example.springbootmqtt.mqtt.MqttClientFactory;
import jakarta.annotation.PostConstruct;
import org.springframework.stereotype.Service;

@Service
public class MqttEceListener extends MqttDefaultListener {

    public MqttEceListener(MqttClientFactory mqttClientFactory) {
        super(mqttClientFactory);
    }

    @PostConstruct
    public void init() {
        startProcess(true);
    }
}
